import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  /* config options here */
  swcMinify: true,
  webpack: (config,{webpack}) => {
    config.plugins.push(
      new webpack.DefinePlugin({
        'process.env.API_ENV': JSON.stringify(process.env.API_ENV),
      })
    )
    return config
  }
};

export default nextConfig;
